<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head th:replace="fragments :: head(~{::title})">
    <title>用户登录</title>
</head>
<body>
<!--轮播图-->
<div data-am-widget="slider" class="am-slider am-slider-default" data-am-slider='{}'>
    <ul class="am-slides">
        <li><img src="images/banner3.png" th:src="@{/images/banner3.png}"></li>
        <li><img src="images/banner4.png" th:src="@{/images/banner4.png}"></li>
    </ul>
</div>
<div class="am-tabs qiehuan" data-am-tabs>
    <ul class="am-tabs-nav am-nav am-nav-tabs" style="margin-bottom: 10px">
        <li class="am-active"><a href="#">用户登录</a></li>
    </ul>
    <div>
        <div class="am-tab-panel">
            <form th:action="@{/publiz/login}" method="post">
                <input type="text" placeholder="用户名" class="tab-input" name="username"/>
                <input type="password" placeholder="密码" class="tab-input" name="password"/>
                <button type="submit" class="tab-btn">登录</button>
            </form>
            <p style="font-size: 14px; text-align: center; margin-top: 6px;">
                <a th:href="@{/customer/index}" style="color: #7c7c7c">忘记密码</a>
                <a th:href="@{/publiz/register}" style="color: #7c7c7c">注册</a>
            </p>
        </div>
    </div>
    <!--注册成功提示-->
    <ul class="address-list" th:unless="${#strings.isEmpty(message)}">
        <li class="curr">
            <p th:text="${message}" class="order-add1" style="color: #000">注册成功，请登录！</p>
        </li>
    </ul>
</div>
<div class="h50"></div>
<div th:replace="fragments :: footer"></div>
</body>
</html>
